package com.wk.warehouse.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;

/**
 * 入库单
 */
public class InStore {
	/**
	 * 入库单ID
	 */
	private Integer insId;
	/**
	 * 仓库ID
	 */
	private Integer storeId;
	/**
	 * 商品ID
	 */
	private Integer productId;
	/**
	 * 入库数量
	 */
	private Integer inNum;
	/**
	 * 入库价格
	 */
	private BigDecimal inPrice;
	/**
	 * 创建人
	 */
	private Integer createBy;
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private String createTime;
	/**
	 * 是否入库
	 */
	private String isIn;
	/**
	 * 用户名
	 */
	private String userCode;
	/**
	 * 仓库名
	 */
	private String storeName;
	/**
	 * 商品名
	 */
	private String productName;
	// 搜索开始时间
	private String startTime;
	// 搜索结束时间
	private String endTime;

	public Integer getInsId() {
		return insId;
	}

	public void setInsId(Integer insId) {
		this.insId = insId;
	}

	public Integer getStoreId() {
		return storeId;
	}

	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Integer getInNum() {
		return inNum;
	}

	public BigDecimal getInPrice() {
		return inPrice;
	}

	public void setInPrice(BigDecimal inPrice) {
		this.inPrice = inPrice;
	}

	public void setInNum(Integer inNum) {
		this.inNum = inNum;
	}

	public Integer getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Integer createBy) {
		this.createBy = createBy;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getIsIn() {
		return isIn;
	}

	public void setIsIn(String isIn) {
		this.isIn = isIn;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	@Override
	public String toString() {
		return "InStore{" +
				"insId='" + insId + '\'' +
				", storeId='" + storeId + '\'' +
				", productId='" + productId + '\'' +
				", inNum=" + inNum +
				", inPrice=" + inPrice +
				", createBy=" + createBy +
				", createTime='" + createTime + '\'' +
				", isIn='" + isIn + '\'' +
				", userCode='" + userCode + '\'' +
				", storeName='" + storeName + '\'' +
				", productName='" + productName + '\'' +
				'}';
	}
}

